From 1de83cfc7be58cf400e38046aeed0df3a0efc2cf Mon Sep 17 00:00:00 2001 From: "Michael.Fetterman@cl.cam.ac.uk" Date: Wed, 23 Nov 2005 14:55:08 +0100 Subject: [PATCH] Avoid ccache and distcc for x86-64 compilation of ia32/syscall32.c syscall32.c currently contains inline asm which has .incbin directives. This defeats ccache's signature checks, and also breaks distcc. Make sure neither ccache nor distcc compiles this file. Signed-off-by: Michael.Fetterman@cl.cam.ac.uk --- linux-2.6-xen-sparse/arch/xen/x86_64/ia32/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/linux-2.6-xen-sparse/arch/xen/x86_64/ia32/Makefile b/linux-2.6-xen-sparse/arch/xen/x86_64/ia32/Makefile index 6ba237b682..ebb06316d5 100644 --- a/linux-2.6-xen-sparse/arch/xen/x86_64/ia32/Makefile +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/ia32/Makefile @@ -21,6 +21,12 @@ c-obj-$(CONFIG_IA32_AOUT) += ia32_aout.o $(obj)/syscall32.o: $(src)/syscall32.c \ $(foreach F,int80 sysenter syscall,$(obj)/vsyscall-$F.so) +# syscall32.c currently contains inline asm which has .incbin directives. +# This defeats ccache's signature checks, and also breaks distcc. +# Make sure neither ccache nor distcc compiles this file. +# +$(obj)/syscall32.o: override CC := env CCACHE_DISABLE=1 DISTCC_HOSTS=localhost $(CC) + # Teach kbuild about targets targets := $(foreach F,int80 sysenter syscall,vsyscall-$F.o vsyscall-$F.so) -- 2.30.2